﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FB.Data.Models
{
    public abstract class HolidayBase : FBAuditModel
    {
        [Key, DatabaseGenerated(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }

        [StringLength(4), Required]
        public string CountryCode { get; set; }

        public DateTime HolidayDate { get; set; }

        [StringLength(256), Required]
        public string FullName { get; set; }

        [DataType(DataType.MultilineText)]
        public string Description { get; set; }
    }
}
